package com.poh.service;

import com.poh.pojo.Reply;
import com.poh.pojo.Topic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TopicService {
    List<Topic> getTopicByCourseId(int courseId);
    int addTopic(Topic topic);
    Topic getTopicById(int topicId);
    List<Topic> getTopicByUserId(int userId);
    int deleteTopic(int topicId);
}
